package com.laolei.core.rest.annotation;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

@Documented
@Retention(RUNTIME)
@Target({ TYPE, ANNOTATION_TYPE })
@Import(RestClientProxyRegistrar.class)
public @interface EnableRestClient {
	
	String[] value() default {};
	
	String[] basePackages() default {};

	Class<?>[] scanBasePackageClasses() default {};
}
